-- GENERATED SPELL FOR [Scarlet Courier] --


function spell0_29076(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(52818,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29076', 575, 1)
end

function Sorts_29076(pUnit, Event)
local choix_sorts_29076 = math.random(0, 0)
if choix_sorts_29076 == 0 then
pUnit:RegisterEvent('spell0_29076', 1, 1)
end
end

function mob29076_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29076', math.random(1500, 3000), 1)
end

function mob29076_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29076_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29076_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29076, 1, 'mob29076_Action')
RegisterUnitEvent(29076, 2, 'mob29076_Leave')
RegisterUnitEvent(29076, 3, 'mob29076_Kill')
RegisterUnitEvent(29076, 4, 'mob29076_Die')
